package com.wh.wisdomsite.xbox.st.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;


/**
 * 正在执行任务
 * @author xiezepeng
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.st.entity
 * @date 2018年12月24日 11:51
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("act_ru_task")
public class RuntimeTask extends Model<RuntimeTask> {

    /**
     * 任务编号
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 执行对象编号
     */
    @TableField("execution_id")
    private String execution_id;

    /**
     * 流程实例编号
     */
    @TableField("proc_inst_id")
    private String proc_inst_id;

    /**
     * 当前执行对象步骤名称
     */
    @TableField("name")
    private String name;

    /**
     * 办理人
     */
    @TableField("assignee")
    private String assignee;

    /**
     * 当前任务创建时间
     */
    @TableField("create_time")
    private Date create_time;

    /**
     * 项目名称
     */
    @TableField("prName")
    private String prName;

    /**
     * 合同名称
     */
    @TableField("coName")
    private String coName;

    /**
     * 合同单号
     */
    @TableField("coCode")
    private String coCode;


    /**
     * 合同编号
     */
    @TableField("coNumber")
    private String coNumber;


    /**
     * 请购单号
     */
    @TableField("purCode")
    private String purCode;

    /**
     * 请购单号
     */
    @TableField(exist = false)
    private String purPerson;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExecution_id() {
        return execution_id;
    }

    public void setExecution_id(String execution_id) {
        this.execution_id = execution_id;
    }

    public String getProc_inst_id() {
        return proc_inst_id;
    }

    public void setProc_inst_id(String proc_inst_id) {
        this.proc_inst_id = proc_inst_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getPrName() {
        return prName;
    }

    public void setPrName(String prName) {
        this.prName = prName;
    }

    public String getCoName() {
        return coName;
    }

    public void setCoName(String coName) {
        this.coName = coName;
    }

    public String getCoCode() {
        return coCode;
    }

    public void setCoCode(String coCode) {
        this.coCode = coCode;
    }

    public String getCoNumber() {
        return coNumber;
    }

    public void setCoNumber(String coNumber) {
        this.coNumber = coNumber;
    }

    public String getPurCode() {
        return purCode;
    }

    public void setPurCode(String purCode) {
        this.purCode = purCode;
    }

    public String getPurPerson() {
        return purPerson;
    }

    public void setPurPerson(String purPerson) {
        this.purPerson = purPerson;
    }

    @Override
    protected Serializable pkVal() {
        return this.getId();
    }
}
